package com.xneure.database.dao;

import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import com.xneure.database.SqlMappingProvider;
import com.xneure.database.annotation.DaoMapper;
import com.xneure.database.dao.category.QueryDao;
@DaoMapper
public interface DataBaseDao<T> extends QueryDao<T>{
	/**
	 * 不支持查询
	 * Update Insert Delete
	 */
	@UpdateProvider(type = SqlMappingProvider.class,method = "executeSql")
	@InsertProvider(type = SqlMappingProvider.class,method = "executeSql")
	@DeleteProvider(type = SqlMappingProvider.class,method = "executeSql")
	public int executeSql(String sql);
	
}
